package com.box.utils;

import java.util.List;

import com.box.entity.solrjItem.SearchBlog;

public class SearchResult {
	private List<SearchBlog> blogList;
	private Long recordCount;//查询结果的总记录数
	private Integer pageCount;//总页数
	private Integer CurPage;//当前页

	public List<SearchBlog> getBlogList() {
		return blogList;
	}

	public void setBlogList(List<SearchBlog> blogList) {
		this.blogList = blogList;
	}

	public Long getRecordCount() {
		return recordCount;
	}

	public void setRecordCount(Long recordCount) {
		this.recordCount = recordCount;
	}

	public Integer getPageCount() {
		return pageCount;
	}

	public void setPageCount(Integer pageCount) {
		this.pageCount = pageCount;
	}

	public Integer getCurPage() {
		return CurPage;
	}

	public void setCurPage(Integer curPage) {
		CurPage = curPage;
	}

	@Override
	public String toString() {
		return "SearchResult [blogList=" + blogList + ", recordCount=" + recordCount + ", pageCount=" + pageCount
				+ ", CurPage=" + CurPage + "]";
	}

	public SearchResult(List<SearchBlog> blogList, Long recordCount, Integer pageCount, Integer curPage) {
		super();
		this.blogList = blogList;
		this.recordCount = recordCount;
		this.pageCount = pageCount;
		CurPage = curPage;
	}

	public SearchResult() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	

}
